//
//  MSAlertChapterView.m
//  MagicSword
//
//  Created by Netease on 15/11/19.
//  Copyright © 2015年 Jonear. All rights reserved.
//

#import "MSAlertChapterView.h"

@implementation MSAlertChapterView {

}

- (id)init {
    self = [super init];
    if (self) {
        [self initSubNodes];
    }
    
    return self;
}

- (void)initSubNodes {
    _nameLabel = [SKLabelNode labelNodeWithFontNamed:@"Helvetica"];
    _nameLabel.position = CGPointMake(0, 35);
    _nameLabel.zPosition = 11;
    _nameLabel.fontSize = 20;
    _nameLabel.fontColor = [UIColor blackColor];
    [self addChild:_nameLabel];
    
    _prizeLabel = [SKLabelNode labelNodeWithFontNamed:@"Helvetica"];
    _prizeLabel.position = CGPointMake(0, 0);
    _prizeLabel.zPosition = 12;
    _prizeLabel.fontSize = 13;
    _prizeLabel.fontColor = UIColorFromRGB(0xf25062);
    [self addChild:_prizeLabel];
    
    _winLabel = [SKLabelNode labelNodeWithFontNamed:@"Helvetica"];
    _winLabel.position = CGPointMake(0, -18);
    _winLabel.zPosition = 12;
    _winLabel.fontSize = 13;
    _winLabel.fontColor = UIColorFromRGB(0xf25062);
    [self addChild:_winLabel];
    
    [self setButtonTitle:@"开始战斗"];
}

@end
